Package com.google.logging.v2
Interface CreateViewRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateViewRequest
,CreateViewRequest.Builder
public interface CreateViewRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.LogView
getView()
Required.String
getViewId()
Required.com.google.protobuf.ByteString
getViewIdBytes()
Required.LogViewOrBuilder
getViewOrBuilder()
Required.boolean
hasView()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The bucket in which to create the view `"projects/[PROJECT_ID]/locations/[LOCATION_ID]/buckets/[BUCKET_ID]"` For example: `"projects/my-project/locations/global/buckets/my-bucket"`
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for parent.
-
getViewId
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:
- The viewId.
-
getViewIdBytes
com.google.protobuf.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:
- The bytes for viewId.
-
hasView
boolean hasView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the view field is set.
-
getView
LogView getView()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The view.
-
getViewOrBuilder
LogViewOrBuilder getViewOrBuilder()
Required. The new view.
.google.logging.v2.LogView view = 3 [(.google.api.field_behavior) = REQUIRED];
-
-