public final class CreateViewRequest extends GeneratedMessageV3 implements CreateViewRequestOrBuilder
The parameters to CreateView
.
Protobuf type google.logging.v2.CreateViewRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VIEW_FIELD_NUMBER
public static final int VIEW_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
VIEW_ID_FIELD_NUMBER
public static final int VIEW_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static CreateViewRequest getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static CreateViewRequest.Builder newBuilder()
newBuilder(CreateViewRequest prototype)
public static CreateViewRequest.Builder newBuilder(CreateViewRequest prototype)
public static CreateViewRequest parseDelimitedFrom(InputStream input)
public static CreateViewRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static CreateViewRequest parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static CreateViewRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(CodedInputStream input)
public static CreateViewRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(InputStream input)
public static CreateViewRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static CreateViewRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<CreateViewRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public CreateViewRequest getDefaultInstanceForType()
getParent()
public String getParent()
Required. The bucket in which to create the view
<code>"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"</code>
For example:
"projects/my-project/locations/global/buckets/my-bucket"
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The bucket in which to create the view
<code>"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"</code>
For example:
"projects/my-project/locations/global/buckets/my-bucket"
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
getParserForType()
public Parser<CreateViewRequest> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
LogView | The view.
|
getViewId()
public String getViewId()
Required. A client-assigned identifier such as "my-view"
. Identifiers are
limited to 100 characters and can include only letters, digits,
underscores, hyphens, and periods.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
String | The viewId.
|
getViewIdBytes()
public ByteString getViewIdBytes()
Required. A client-assigned identifier such as "my-view"
. Identifiers are
limited to 100 characters and can include only letters, digits,
underscores, hyphens, and periods.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ByteString | The bytes for viewId.
|
getViewOrBuilder()
public LogViewOrBuilder getViewOrBuilder()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
hasView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the view field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CreateViewRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateViewRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public CreateViewRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides