public final class CreateViewRequest extends GeneratedMessageV3 implements CreateViewRequestOrBuilder
The parameters to CreateView
.
Protobuf type google.logging.v2.CreateViewRequest
Static Fields
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Field Value
VIEW_FIELD_NUMBER
public static final int VIEW_FIELD_NUMBER
Field Value
VIEW_ID_FIELD_NUMBER
public static final int VIEW_ID_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static CreateViewRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static CreateViewRequest.Builder newBuilder()
Returns
newBuilder(CreateViewRequest prototype)
public static CreateViewRequest.Builder newBuilder(CreateViewRequest prototype)
Parameter
Returns
public static CreateViewRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateViewRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static CreateViewRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static CreateViewRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateViewRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static CreateViewRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static CreateViewRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static CreateViewRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static CreateViewRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CreateViewRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<CreateViewRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public CreateViewRequest getDefaultInstanceForType()
Returns
getParent()
public String getParent()
Required. The bucket in which to create the view
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
Example:
"projects/my-logging-project/locations/my-location/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
"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"
Example:
"projects/my-logging-project/locations/my-location/buckets/my-bucket"
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<CreateViewRequest> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
getViewId()
public String getViewId()
Required. The id to use for this view.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The viewId.
|
getViewIdBytes()
public ByteString getViewIdBytes()
Required. The id to use for this view.
string view_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getViewOrBuilder()
public LogViewOrBuilder getViewOrBuilder()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public CreateViewRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CreateViewRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public CreateViewRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions